Pretty YAML
Sublime Text 2/3 plugin that allows to format a YAML file
Details
Installs
- Total 79K
- Win 25K
- Mac 37K
- Linux 17K
Nov 23 | Nov 22 | Nov 21 | Nov 20 | Nov 19 | Nov 18 | Nov 17 | Nov 16 | Nov 15 | Nov 14 | Nov 13 | Nov 12 | Nov 11 | Nov 10 | Nov 9 | Nov 8 | Nov 7 | Nov 6 | Nov 5 | Nov 4 | Nov 3 | Nov 2 | Nov 1 | Oct 31 | Oct 30 | Oct 29 | Oct 28 | Oct 27 | Oct 26 | Oct 25 | Oct 24 | Oct 23 | Oct 22 | Oct 21 | Oct 20 | Oct 19 | Oct 18 | Oct 17 | Oct 16 | Oct 15 | Oct 14 | Oct 13 | Oct 12 | Oct 11 | Oct 10 | Oct 9 | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Windows | 0 | 4 | 5 | 5 | 0 | 6 | 5 | 4 | 2 | 0 | 0 | 4 | 2 | 3 | 2 | 6 | 5 | 6 | 10 | 2 | 2 | 7 | 3 | 1 | 10 | 4 | 9 | 2 | 3 | 8 | 4 | 5 | 7 | 4 | 4 | 2 | 6 | 5 | 6 | 8 | 8 | 1 | 1 | 4 | 4 | 5 |
Mac | 3 | 6 | 10 | 1 | 4 | 8 | 5 | 3 | 6 | 0 | 0 | 2 | 5 | 0 | 3 | 9 | 8 | 11 | 8 | 8 | 2 | 0 | 3 | 15 | 8 | 4 | 9 | 2 | 4 | 3 | 5 | 3 | 6 | 3 | 0 | 1 | 9 | 14 | 13 | 11 | 5 | 2 | 4 | 7 | 1 | 5 |
Linux | 0 | 2 | 1 | 1 | 1 | 3 | 3 | 0 | 2 | 0 | 0 | 2 | 0 | 0 | 1 | 2 | 2 | 1 | 3 | 2 | 1 | 1 | 1 | 0 | 1 | 3 | 3 | 2 | 0 | 1 | 1 | 3 | 3 | 1 | 0 | 0 | 1 | 1 | 1 | 6 | 4 | 0 | 3 | 4 | 2 | 3 |
Readme
- Source
- raw.githubusercontent.com
Pretty YAML
Prettify YAML plugin for Sublime Text 2 & 3 (Based on Pretty JSON)
Installation
Install this sublime text package via Package Control
Usage To prettify YAML, make selection of YAML and press keys:
Linux: ctrl+alt+y
Windows: ctrl+alt+y
OS X: cmd+ctrl+y
If selection is empty and configuration entry use_entire_file_if_no_selection is true, tries to prettify whole file.
If YAML is not valid it will be displayed in status bar of sublime.
Default configuration
This plugin uses PyYAML to process YAML files. You can specify the arguments for the Dumper in the plugin's preferences.
Thanks
License
- View LICENSE files in plugin root and yaml/ subfolders (both MIT)